package org.example.entity;

public class Teacher extends BaseEntity{
    private int coins;

    static int DEFAULT_COINS=500;
    public static final int MIN_COINS=30;
    public static final int REWARD_COINS=30;
    public Teacher(String name) {
        this.coins = DEFAULT_COINS;
        this.name = name;
    }

    public int get_coins() {
        return coins;
    }

    public void set_coins(int _coins) {
        this.coins = _coins;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "coins=" + coins +
                ", name='" + name + '\'' +
                '}';
    }
}
